package com.yx.shop.service;

import com.yx.shop.entitly.PageBean;
import com.yx.shop.entitly.Product;

import java.util.List;

/**
 * @Classname ProductService
 * @Description TODO:
 * @Date 2021/05/07 17:16
 * @Created by yx
 */
public interface ProductService {
    List<Product> getByTid(PageBean page,Integer tid);
    int getCount(Integer tid);

    Product getProductById(Integer pid);
}
